// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
+/* exported SearchResultsView */
const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi;
const Signals = imports.signals;
};
Signals.addSignalMethods(GridSearchResults.prototype);
-var SearchResults = class {
+var SearchResultsView = class {
constructor() {
this.actor = new St.BoxLayout({ name: 'searchResults',
vertical: true });
return description.replace(this._highlightRegex, '<b>$1</b>');
}
};
-Signals.addSignalMethods(SearchResults.prototype);
+Signals.addSignalMethods(SearchResultsView.prototype);
var ProviderInfo = GObject.registerClass(
class ProviderInfo extends St.Button {
this._appsPage = this._addPage(this.appDisplay.actor,
_("Applications"), 'view-app-grid-symbolic');
- this._searchResults = new Search.SearchResults();
+ this._searchResults = new Search.SearchResultsView();
this._searchPage = this._addPage(this._searchResults.actor,
_("Search"), 'edit-find-symbolic',
{ a11yFocus: this._entry });